package com.linkvin.ec.hcs.dao.mapper.mdm;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.linkvin.ec.hcs.dao.model.mdm.Warehouse;
import com.linkvin.ec.hcs.dao.model.mdm.bo.WarehouseBo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 基础数据表_仓库表 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2017-12-19
 */
public interface WarehouseMapper extends BaseMapper<Warehouse> {
    List<WarehouseBo> queryPageWarehouse(Page<WarehouseBo> page, @Param("ew") Wrapper<WarehouseBo> wrapper);

    List<WarehouseBo> selectWarehouse(@Param("code") String code);

    List<WarehouseBo> selectAllWarehouse();

}
